<?php
class My_View_Helper_Vcastr3 {
	public function vcastr3($items) {
		foreach ( $items as $v ) {
			$item = $item . "<item>
			<source>{$v['source']}</source>
			<duration></duration>
			<title>{$v['title']}</title>
		</item>";
		}
		return "<vcastr>
	<channel>
		$item
	</channel><config>
                <bufferTime>4</bufferTime>
                <controlPanelBgColor>0x3B65CB</controlPanelBgColor>
                <controlPanelBtnColor>0xffffff</controlPanelBtnColor>
                <contralPanelBtnGlowColro>0xffff00</contralPanelBtnGlowColro>
                <controlPanelMode>float</controlPanelMode>
                <defautVolume>0.8</defautVolume>
                <isAutoPlay>false</isAutoPlay>
                <isLoadBegin>true</isLoadBegin>
                <isShowAbout>true</isShowAbout>
        </config>
 </vcastr>";
	}
}
?>